package launcher;

import javax.swing.*;

import misc.Vals;

import frame.AwesomeFrame;

/**
 * Launches the AwesomeEdit application.
 * @author Brittin
 *
 */
public class AwesomeLauncher {

	/**
	 * It's main.
	 */
	public static void main(String[] args) {
		// Run the code on the Event Dispatch Thread for thread saftey.
		SwingUtilities.invokeLater( new Runnable()
		{
			public void run()
			{
				createAndShowGUI();
			}
		});

	}
	
	/**
	 * Create the GUI and show it.
	 */
	public static void createAndShowGUI()
	{
		AwesomeFrame frame = new AwesomeFrame();
		frame.setSize(Vals.defaultMainFrameHeight, Vals.defaultMainFrameWidth);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setVisible(true);
	}

	
}


